<template>
    <baseView>
        <div class="login-log">
            <DataTableV2 :tableColumn="tableColumn" :size="[15, 20, 25]" :fetchApi="loginLog" :params="params"
                ref="tableRef">
            </DataTableV2>
        </div>
    </baseView>
</template>

<script setup>
import { loginLog } from "@/api/sys"
const params = reactive({
    pagenum: 1,
    pagesize: 15
})
const tableColumn = [
    {
        label: '登录时间',
        prop: 'DOTIME',
    },
    {
        label: '登录ip',
        prop: 'LOGINIP',
    },
    {
        label: '登录账号',
        prop: 'USERID',
    },
    {
        label: '用户名',
        prop: 'NAME',
    }

]
</script>

<style lang="scss" scoped>
.login-log {
    width: 100%;
    height: 100%;
}
</style>